//
//  UIViewController+JJ_BaseNav.h
//  Udeco
//
//  Created by MacPro on 2017/8/6.
//  Copyright © 2017年 MacPro. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "UINavigationBar+Awesome.h"
 #import "UIViewController+BarButtonItemAction.h"
@interface UIViewController (JJBaseNav)<UITextFieldDelegate>
typedef void(^TextFieldDidEndEditingBlock)(UITextField *textField);
typedef void(^TextFDidEditingBlock)(NSString *str);
@property (nonatomic,copy) TextFieldDidEndEditingBlock textFieldDidEndEditingBlock;
@property (nonatomic,copy) TextFDidEditingBlock textFDidEditingBlock;
/// 搜索框
@property (nonatomic,strong) UITextField *searchTextF;


/// 显示导航栏
-(void)jj_showNavi;
/// 隐藏导航栏
-(void)jj_hiddenNavi;

/// 状态栏不隐藏
-(void)jj_showStatusBar;

/// 白底没有分界线（默认）
-(void)jj_navDefault;

/// 白底有分界线
-(void)jj_navWriteWithLine;
/// 白底没有分界线
-(void)jj_navPureWrite;

/// 灰底带搜索栏&分界线
-(void)jj_navGrayWithLineAndSearchBar:(UIKeyboardType)keyboardType;



#pragma mark 默认颜色
-(void)jj_FMNav;

#pragma mark 自定义
-(void)jj_navCustom;


#pragma mark 黑色底
-(void)jj_navBlack;


#pragma mark 透明
-(void)jj_navTransparent;
#pragma mark 去除透明
-(void)jj_navRemoveTransparent;

#pragma mark 导航线条
-(void)jj_navLine:(BOOL)hidden;


@end
